package com.spider.gp.constant;

/**
 * description: f3 -涨跌幅 ,f8-换手率,f14-行业,f128-领涨股,f140-领涨股编码,f136-领涨股涨幅,f104-涨的家数,f105-跌的家数 f207 领跌 f222 领跌跌幅 f208-领跌股编码
 * f14-指数名称 f2/100 指数 f3/100 涨跌幅点 f4/100 涨跌幅点数 f6/1000/1000 成交量  f104 上涨家数 f105 下跌家数  f106 平家
 * f51 日期,f52 开盘价(元),f53 收盘价(元),f54 最高价(元),f55 最低价(元),f56  成交量(手),f57成交额(元),f58 振幅(%) ,f59涨跌幅(%) ,f60涨跌额(元) ,f61  换手率(%)
 * f9 动态市盈率
 *
 * @author clare
 * @date 2022/05/20 09:04
 **/

public class UrlConstant {
    //快乐八
    public static final String SHUANG_SE_QIU_8    = "http://kaijiang.zhcw.com/zhcw/html/ssq/list_1.html";
//    public static final String KUAI_LE_8    = "http://www.cwl.gov.cn/fcpz/yxjs/kl8/";
    public static final String KUAI_LE_8    = "https://jc.zhcw.com/port/client_json.php?transactionType=10001001&lotteryId=6&issueCount=30&startIssue=&endIssue=&startDate=&endDate=&type=0&pageNum=1&pageSize=10&tt=0.1525323065807429&_=1663140771208";

    //同花顺-龙虎榜
    public static final String THS_LONG_HU_BANG    = "http://data.10jqka.com.cn/market/longhu/";
    //东方财富-行业 f3 -涨跌幅 ,f8-换手率,f14-行业,f128-领涨股,f140-领涨股编码,f136-领涨股涨幅,f104-涨的家数,f105-跌的家数 f207 领跌 f222 领跌跌幅 f208-领跌股编码
    //f3,f8,f14,f128,f136,f104,f105,f140,f207,f222,f208
    public static final String DFCF_HANG_YE    = "http://quote.eastmoney.com/center/hsbk.html"; // 直接拿不到值。
    //行业-涨幅
    public static final String DFCF_HANG_YE_ZF    = "http://82.push2.eastmoney.com/api/qt/clist/get?pn=1&pz=3&po=1&np=1&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&invt=2&wbp2u=%7C0%7C0%7C0%7Cweb&fid=f3&fs=m%3A90%2bt%3A2&fields=f3%2Cf8%2Cf14%2Cf128%2Cf136%2Cf104%2Cf105%2Cf140%2Cf207%2Cf222%2Cf208";
    //行业-跌幅
    public static final String DFCF_HANG_YE_DF    = "http://82.push2.eastmoney.com/api/qt/clist/get?pn=1&pz=3&po=0&np=1&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&invt=2&wbp2u=%7C0%7C0%7C0%7Cweb&fid=f3&fs=m%3A90%2bt%3A2&fields=f3%2Cf8%2Cf14%2Cf128%2Cf136%2Cf104%2Cf105%2Cf140%2Cf207%2Cf222%2Cf208";
    //概念行业-涨幅
    public static final String DFCF_GAI_NIAN_HANG_YE_ZF    = "http://32.push2.eastmoney.com/api/qt/clist/get?pn=1&pz=3&po=1&np=1&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&invt=2&wbp2u=%7C0%7C0%7C0%7Cweb&fid=f3&fs=m%3A90%2bt%3A3&fields=f3%2Cf8%2Cf14%2Cf128%2Cf136%2Cf104%2Cf105%2Cf140%2Cf207%2Cf222%2Cf208";
    //概念行业-跌幅
    public static final String DFCF_GAI_NIAN_HANG_YE_DF    = "http://32.push2.eastmoney.com/api/qt/clist/get?pn=1&pz=3&po=0&np=1&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&invt=2&wbp2u=%7C0%7C0%7C0%7Cweb&fid=f3&fs=m%3A90%2bt%3A3&fields=f3%2Cf8%2Cf14%2Cf128%2Cf136%2Cf104%2Cf105%2Cf140%2Cf207%2Cf222%2Cf208";

    //同花顺-行业
    public static final String TSH_HANG_YE    = "http://q.10jqka.com.cn/thshy/";

    //东方财富-指数 f14-指数名称 f2/100 指数 f3/100 涨跌幅点 f4/100 涨跌幅点数 f6/1000/1000 成交量  f104 上涨家数 f105 下跌家数  f106 平家
    public static final String DFCF_ZHI_SHU    = "http://push2.eastmoney.com/api/qt/ulist/get?fltt=1&invt=2&fields=f14,f2,f4,f3,f6,f104,f105,f106&secids=1.000001,0.399001&ut=fa5fd1943c7b386f172d6893dbfba10b&pn=1&np=1&wbp2u=%7C0%7C0%7C0%7Cweb";

    public static final String TSH_LB    = "http://www.iwencai.com/stockpick/search?tid=stockpick&qs=box_main_ths&w=%E8%BF%9E%E6%9D%BF";
    public static final String DFCF_LB    = "https://push2ex.eastmoney.com/getTopicZTPool?ut=7eea3edcaed734bea9cbfc24409ed989&dpt=wz.ztzt&Pageindex=0&pagesize=1000&sort=lbc%3Adesc&date=";
    // 跌停板 - 今日 20220708
    public static final String DFCF_DTC_JR = "https://push2ex.eastmoney.com/getTopicDTPool?ut=7eea3edcaed734bea9cbfc24409ed989&dpt=wz.ztzt&Pageindex=0&pagesize=500&sort=fund%3Aasc&date=";

    //昨日涨停-含一字板 连板指数
    public static final String DFCF_ZR_ZT_ZS    = "http://push2.eastmoney.com/api/qt/stock/get?invt=2&fltt=1&fields=f170&ut=fa5fd1943c7b386f172d6893dbfba10b&wbp2u=%7C0%7C0%7C0%7Cweb&secid=90.BK1050";
    //历史
    public static final String DFCF_ZR_ZT_ZS_LS    = "http://3.push2his.eastmoney.com/api/qt/stock/kline/get?secid=90.BK1050&ut=fa5fd1943c7b386f172d6893dbfba10b&fields1=f6&fields2=f51%2Cf59&klt=101&fqt=1&lmt=1&end=";

    //昨日连板-含一字板 连板指数
    public static final String DFCF_ZR_LB_ZS    = "http://push2.eastmoney.com/api/qt/stock/get?invt=2&fltt=1&fields=f170&secid=90.BK1051&ut=fa5fd1943c7b386f172d6893dbfba10b&wbp2u=%7C0%7C0%7C0%7Cweb";
    //20220905
    public static final String DFCF_ZR_LB_ZS_LS    = "http://3.push2his.eastmoney.com/api/qt/stock/kline/get?secid=90.BK1051&ut=fa5fd1943c7b386f172d6893dbfba10b&fields1=f6&fields2=f51%2Cf59&klt=101&fqt=1&smplmt=2&lmt=1&end=";
    //历史


    //个股 secid =0.300059  0 深圳的股票  1 上证的股票 创业板是深圳上市的。 lmt 多返回多少。均线
    //f51 日期,f52 开盘价(元),f53 收盘价(元),f54 最高价(元),f55 最低价(元),f56  成交量(手),f57成交额(元),f58 振幅(%) ,f59涨跌幅(%) ,f60涨跌额(元) ,f61  换手率(%)
    public static final String DFCF_GG = "http://39.push2his.eastmoney.com/api/qt/stock/kline/get?fields1=f1%2Cf2%2Cf3%2Cf6&fields2=f51%2Cf52%2Cf53%2Cf54%2Cf55%2Cf56%2Cf57%2Cf58%2Cf59%2Cf60%2Cf61&klt=101&fqt=0&end=20500100&";

    //个股信息 (SECURITY_CODE%3D%22000801%22) 用update。
    public static final String DFCF_GG_INFO = "https://datacenter-web.eastmoney.com/api/data/v1/get?reportName=RPT_F10_ORG_BASICINFO&columns=ALL&sortColumns=&sortTypes=&source=WEB&client=WEB&filter=";
    //所有gp
    public static final String DFCF_GG_ALL_INFO = "http://36.push2.eastmoney.com/api/qt/clist/get?pn=1&pz=10000&po=1&np=1&fltt=2&invt=2&fid=f3&fs=m:0+t:6,m:0+t:80,m:1+t:2,m:1+t:23,m:0+t:81+s:2048&fields=f9,f12,f13,f14,f20,f21,f115";

    // 所有板块  与概念 http://42.push2.eastmoney.com/api/qt/clist/get?pn=1&pz=1000&po=1&np=1&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&invt=2&wbp2u=|0|0|0|web&fid=f3&fs=m:90&fields=f12,f14
    public static final String DFCF_SYBK = "http://42.push2.eastmoney.com/api/qt/clist/get?pn=1&pz=1000&po=1&np=1&ut=bd1d9ddb04089700cf9c27f6f7426281&fltt=2&invt=2&wbp2u=%7C0%7C0%7C0%7Cweb&fid=f3&fs=m%3A90&fields=f12,f14";
   //单个板块股票  f2 当前价格 f9 动态市盈率 f12 股票编码 f14股票名称 BK1032
    public static final String DFCF_BK_SYGP = "http://push2.eastmoney.com/api/qt/clist/get?np=1&fltt=1&invt=2&fields=f2%2Cf9%2Cf12%2Cf14&fid=f3&pn=1&pz=1000&po=1&ut=fa5fd1943c7b386f172d6893dbfba10b&wbp2u=%7C0%7C0%7C0%7Cweb&fs=b%3A";




    // 获取最近20天的gp信息 0.300059 &end=20500100 最后日期
    public static final String DFCF__GP = "http://39.push2his.eastmoney.com/api/qt/stock/kline/get?fields1=f1%2Cf2%2Cf3%2Cf6&fields2=f51%2Cf52%2Cf53%2Cf54%2Cf55%2Cf56%2Cf57%2Cf58%2Cf59%2Cf60%2Cf61&klt=101&fqt=0";
    public static final String DFCF_8_GP = "http://39.push2his.eastmoney.com/api/qt/stock/kline/get?fields1=f1%2Cf2%2Cf3%2Cf6&fields2=f51%2Cf52%2Cf53%2Cf54%2Cf55%2Cf56%2Cf57%2Cf58%2Cf59%2Cf60%2Cf61&klt=101&fqt=0";

    //接口说明： 股票历史日线行情查询 https://push2his.eastmoney.com/api/qt/stock/kline/get?fields1=f1&fields2=f51%2Cf52%2Cf53%2Cf54%2Cf55%2Cf56%2Cf57%2Cf58%2Cf59%2Cf60%2Cf61&ut=b2884a393a59ad64002292a3e90d46a5&klt=101&fqt=1&secid=0.300803&beg=20201202&end=20500000
    public static final String HighLow = "https://push2his.eastmoney.com/api/qt/stock/kline/get?fields1=f1&fields2=f51%2Cf53%2Cf54%2Cf55&ut=b2884a393a59ad64002292a3e90d46a5&klt=101&fqt=1&secid=";

}







